Package-level declarations

Types

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class AddDeviceTokenRequest(@Json(name = "devicePushToken") val devicePushToken: String, @Json(name = "platform") val platform: String)

Request data class for AddNewDeviceToken api call

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class AddDeviceTokenResponse(@Json(name = "devicePushToken") val devicePushToken: String, @Json(name = "platform") val platform: String)

Response data class for AddNewDeviceToken api call

Link copied to clipboard
data class DeviceTokenParams(val portalId: String, val pushToken: String)

DeviceTokenParams is used for pass a parameter while calling AddNewDeviceTokenAPI

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class MetaDataRequest(@Json(name = "email") val email: String, @Json(name = "visitorToken") val visitorToken: String, @Json(name = "metadata") val metaData: Map<String, String>?)

Request data class for MetaData api call